package com.cdxy.model.dto.req;

import com.cdxy.model.dto.base.req.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/4/11 16:20
 */
@Data
@ApiModel
public class OrderListReq extends BasePageReq implements Serializable {

    @ApiModelProperty(value = "用户id 不用传")
    private Integer axUid;

    @ApiModelProperty(value = "类型（1-景点 2-酒店）", allowableValues = "1,2")
    @NotNull(message = "类型不能为空")
    private Integer type;
}
